/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.pbp.model;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 *
 * @author Kim
 */
@Entity
@Table(name = "user_friends")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class UserFriends implements Serializable{
  
    @EmbeddedId
    UserFriendsPK userFriendsPK;

    public UserFriendsPK getUserFriendsPK() {
        return userFriendsPK;
    }

    public void setUserFriendsPK(UserFriendsPK userFriendsPK) {
        this.userFriendsPK = userFriendsPK;
    }
    
   
    
}
